#pragma once
#include "Dx11DemoBase.h"
class SphereDemo :
	public Dx11DemoBase
{
public:
	XMMATRIX                g_SphereWorld;
	XMMATRIX                g_SphereView;
	XMMATRIX                g_SphereProjection;
	SphereDemo();
	~SphereDemo();

	virtual bool LoadContent() override;


	virtual void UnLoadContent() override;


	virtual void Update(float dt) override;


	virtual void Render() override;

	ID3D11Buffer *m_pVertexBuffer;
	ID3D11Buffer* m_pIndexBuffer;
	ID3D11InputLayout *m_pInputLayout;
	ID3D11Buffer*   g_pConstantBuffer11;
	ID3D11VertexShader *m_pSolidColorVS;
	ID3D11PixelShader *m_pSolidColorPS;
	ID3D11GeometryShader* m_geometryShader;
	ID3D11ShaderResourceView* g_pTextureRV;
	ID3D11SamplerState* g_pSamplerLinear;

	int IndexCount;
};

